home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 September / Australian PC User - September 2003 (CD1).iso / magstuff / web / files / psp801ev.exe / Data1.cab / Preset_MagnifyingLens_Pink_I < prev    next >
Encoding:
Text File  |  2003-06-06  |  2.0 KB  |  62 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'Insets a pink version of the image. Original idea: Angela M. Cable.',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_MagnifyingLens():
  13.     return {
  14.         'Bound': (0.17125,0.0616667,0.82375,0.931667), 
  15.         'Darkness': 59, 
  16.         'Defocus': 3, 
  17.         'Frame': {
  18.             'FrameColor': (198,161,192), 
  19.             'Material': App.Constants.LensFrameMaterial.None, 
  20.             'Style': App.Constants.LensFrameShape.Circular, 
  21.             'Thickness': 14
  22.             }, 
  23.         'Illumination': {
  24.             'LightList': [{
  25.                 'LightColor': (198,161,192), 
  26.                 'LightDirection': (-0.842896,0.558777,0.337585), 
  27.                 'HighlightSize': 85
  28.                 },{
  29.                 'LightColor': (205,31,0), 
  30.                 'LightDirection': (-0.1549,0.4376,-0.772), 
  31.                 'HighlightSize': 10
  32.                 },{
  33.                 'LightColor': (255,255,255), 
  34.                 'LightDirection': (1,1,-1), 
  35.                 'HighlightSize': 20
  36.                 }], 
  37.             'MaxAmbience': 14, 
  38.             'MinAmbience': 14
  39.             }, 
  40.         'LensSurface': {
  41.             'EnvironmentMap': {
  42.                 'Active': App.Constants.Boolean.false
  43.                 }, 
  44.             'Gloss': 5, 
  45.             'Magnification': 52, 
  46.             'LensMaterial': {
  47.                 'Color': (198,161,192), 
  48.                 'Pattern': None, 
  49.                 'Gradient': None, 
  50.                 'Texture': None
  51.                 }, 
  52.             'LensOpacity': 75, 
  53.             'Refraction': 5, 
  54.             'ShapeType': App.Constants.LensShape.VCylindrical, 
  55.             'Shininess': 45
  56.             }
  57.         }
  58.  
  59. def Do(Environment):
  60.     App.Do( Environment, 'MagnifyingLens',         Preset_MagnifyingLens())
  61.  
  62.